package com.example.hibernate.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Created by Yasin H on 2018/7/30.
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity(name = "country")
public class Country extends AbstractEntity {

    private String code;
    private String name;
    @Column(name = "short_name")
    private String shortName;

}
